package com.iwop.moto.dao;

import com.iwop.moto.model.MCashBackConfig;
import org.apache.ibatis.annotations.Param;

public interface MCashBackConfigMapper {

    int deleteByPrimaryKey(@Param(value = "sid") Integer sid);

    int insert(MCashBackConfig mCashBackConfig);

    MCashBackConfig selectByPrimaryKey(@Param(value = "sid") Integer sid);

    int updateByPrimaryKey(MCashBackConfig mCashBackConfig);

    MCashBackConfig findByOrderMoney(@Param("orderMoney") double orderMoney, @Param("cash_type") String cash_type);
}